package com.rimi.lzhg.dao;

import com.rimi.lzhg.entry.TodayMenu;
import com.rimi.lzhg.entry.TodayMenuExample;

import java.util.List;

public interface TodayMenuMapper {

    boolean hasTodayMenuByMenuId(Integer menuId);

    boolean hasOrder(TodayMenu todayMenu);

    int countByExample(TodayMenuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TodayMenu record);

    int insertSelective(TodayMenu record);

    List<TodayMenu> selectByExample(TodayMenuExample example);

    TodayMenu selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TodayMenu record);

    int updateByPrimaryKey(TodayMenu record);

    TodayMenu selectByTodeyMenu(TodayMenu todayMenu);
}